import 'package:school_assistant/generated/json/base/json_convert_content.dart';
import 'package:school_assistant/data/base_data_entity.dart';

BaseDataEntity $BaseDataEntityFromJson(Map<String, dynamic> json) {
	final BaseDataEntity baseDataEntity = BaseDataEntity();
	final bool? status = jsonConvert.convert<bool>(json['status']);
	if (status != null) {
		baseDataEntity.status = status;
	}
	final String? message = jsonConvert.convert<String>(json['message']);
	if (message != null) {
		baseDataEntity.message = message;
	}
	final String? data = jsonConvert.convert<String>(json['data']);
	if (data != null) {
		baseDataEntity.data = data;
	}
	return baseDataEntity;
}

Map<String, dynamic> $BaseDataEntityToJson(BaseDataEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['status'] = entity.status;
	data['message'] = entity.message;
	data['data'] = entity.data;
	return data;
}